gtk4.git
8 years agogtk-demo/theming: Don’t mislead about raised class
Daniel Boles [Wed, 13 Sep 2017 13:47:40 +0000 (14:47 +0100)]
gtk-demo/theming: Don’t mislead about raised class

This class is not added by any widgets nor themed by Adwaita/HC.
However, it is presented here as if it does something. It doesn’t.

But we changed the 2 buttons with the .raised class to use symbolic
icons, unlike their ‘unraised’ counterparts, which is unnecessarily
confusing and might make people think .raised affects icons somehow.

So, make them use the same icons in all cases; that way, if .raised is
ever made to do anything, 6 years later, what it does will be clear.

https://bugzilla.gnome.org/show_bug.cgi?id=644248

8 years agowidget-factory: Usefully demo Frame shadow types
Daniel Boles [Thu, 14 Sep 2017 17:34:21 +0000 (18:34 +0100)]
widget-factory: Usefully demo Frame shadow types

Instead of showing the 4 types except for GTK_SHADOW_NONE, which are all
treated identically and provide no way for themes to differentiate, just
keep 2 Frames, and make one of them GTK_SHADOW_NONE to demo a flat Frame

8 years agoFrame: Add missing fixed-width format to enums
Daniel Boles [Wed, 13 Sep 2017 13:36:46 +0000 (14:36 +0100)]
Frame: Add missing fixed-width format to enums

8 years agobuild: Add directories to the summary
Timm Bäder [Thu, 14 Sep 2017 14:04:50 +0000 (16:04 +0200)]
build: Add directories to the summary

8 years agoiconview: Stop using ::button-{press,release}-event
Timm Bäder [Wed, 13 Sep 2017 15:58:45 +0000 (17:58 +0200)]
iconview: Stop using ::button-{press,release}-event

Use a gesture instead.

8 years agocalendar: Stop using ::button-{press,release}-event
Timm Bäder [Wed, 13 Sep 2017 15:37:25 +0000 (17:37 +0200)]
calendar: Stop using ::button-{press,release}-event

8 years agoFlowBox: Explain how to avoid inflated min size
Daniel Boles [Tue, 12 Sep 2017 21:48:58 +0000 (22:48 +0100)]
FlowBox: Explain how to avoid inflated min size

along the orthogonal orientation. It seems a FlowBox on its own can only
handle being shrunk along its main orientation. The orthogonal requests
a huge min size – reserving what it would need if the main orientation
got its min size, which would flow all children in 1 line orthogonally.

Adding it to a ScrolledWindow (any policy) enables free shrinking, so
size_allocate() can reflow how users in this situation probably expect.

https://bugzilla.gnome.org/show_bug.cgi?id=787021

8 years agoColorButton: Don’t destroy dialog @ ::delete-event
Hiroyuki Ito [Mon, 11 Sep 2017 12:02:13 +0000 (12:02 +0000)]
ColorButton: Don’t destroy dialog @ ::delete-event

Without specifically connecting ::delete-event to something, the dialog
will be destroyed when it is closed, for example by pressing Esc. This
meant that when dismissing it this way, unlike by pressing Cancel, any
custom palette would be lost when the dialog was next opened, and so on.

Resolve this by making ::delete-event just do GTK_RESPONSE_CANCEL, so
closing the dialog has the same effect as clicking its Cancel button.

https://bugzilla.gnome.org/show_bug.cgi?id=787444

8 years agoUpdate Russian translation
Stas Solovey [Tue, 12 Sep 2017 19:15:22 +0000 (19:15 +0000)]
Update Russian translation

(cherry picked from commit eeeb8f21e22aca6bbea70d566287e3c19f4cafda)

8 years agogtksettings: Add a debug message if there is no default GtkSettings
Philip Withnall [Thu, 9 Feb 2017 17:17:05 +0000 (17:17 +0000)]
gtksettings: Add a debug message if there is no default GtkSettings

Make it slightly more obvious when things are about to slide sideways
because a NULL GtkSettings has been returned to a caller. This is a
valid return value, but is rarely handled correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=778382

8 years agogtknotebook: Simplify some if-conditions
Philip Withnall [Mon, 11 Sep 2017 08:26:52 +0000 (09:26 +0100)]
gtknotebook: Simplify some if-conditions

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=787303

8 years agogtkmountoperation-x11: Do array length check before dereference
Philip Withnall [Mon, 11 Sep 2017 08:23:17 +0000 (09:23 +0100)]
gtkmountoperation-x11: Do array length check before dereference

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=787302

8 years agobuild: Add dependency fallbacks for libs with meson ports
Nirbheek Chauhan [Thu, 7 Sep 2017 18:23:41 +0000 (23:53 +0530)]
build: Add dependency fallbacks for libs with meson ports

With these changes gtk+ builds for me using fallbacks for all libraries
with fallbacks available. Needs the following changes:

https://github.com/ebassi/graphene/pull/109 (graphene)
https://bugzilla.gnome.org/show_bug.cgi?id=787414 (pango)
https://github.com/mesonbuild/meson/pull/2291 (will be in meson 0.42.1)

https://bugzilla.gnome.org/show_bug.cgi?id=787416

8 years agobuild: Add girs and typelibs as sources to libgtk_dep
Nirbheek Chauhan [Thu, 7 Sep 2017 18:20:38 +0000 (23:50 +0530)]
build: Add girs and typelibs as sources to libgtk_dep

This will be needed by any projects that want to use gtk+ as
a subproject.

https://bugzilla.gnome.org/show_bug.cgi?id=787416

8 years agoFix rendering glyphs from the cache
Matthias Clasen [Mon, 11 Sep 2017 18:45:36 +0000 (14:45 -0400)]
Fix rendering glyphs from the cache

We were not quite using all the right dimensions.

8 years agoSome fixes for the glyph cache
Matthias Clasen [Mon, 11 Sep 2017 18:02:44 +0000 (14:02 -0400)]
Some fixes for the glyph cache

Copy the way cogl does its glyph caching some more.
At the minimum, this fixes problems where we were getting
wrong-sized Emoji inserted.

8 years agoCosmetic changes
Matthias Clasen [Mon, 11 Sep 2017 15:22:59 +0000 (11:22 -0400)]
Cosmetic changes

Make sure the cache size does not get out of sync with the
actual surface size.

8 years agoCosmetic changes
Matthias Clasen [Mon, 11 Sep 2017 15:22:10 +0000 (11:22 -0400)]
Cosmetic changes

Use Pango macros for handling PANGO_SCALE.

8 years agoFix a corner-case for emoji input
Matthias Clasen [Mon, 11 Sep 2017 15:17:41 +0000 (11:17 -0400)]
Fix a corner-case for emoji input

As reported in https://github.com/ibus/ibus/issues/1944,
typing u201e while holding Ctrl+Shift used to give a „
when letting go of Ctrl+Shift. This broke when we introduced
Ctrl+Shift+e to start Emoji sequences. Fix this by only
looking for Ctrl+Shift+e if we are not already in a hex
sequence.

8 years agorate-limit the glyph cache dumping
Matthias Clasen [Mon, 11 Sep 2017 15:15:00 +0000 (11:15 -0400)]
rate-limit the glyph cache dumping

Writing the file out every frame really isn't necessary.
Do it once per second.

8 years agovulkan: Add a primitive glyph cache
Matthias Clasen [Mon, 11 Sep 2017 01:55:22 +0000 (21:55 -0400)]
vulkan: Add a primitive glyph cache

This is just a proof of concept - we use a single 1024x1024 surface,
and just give up when we run out of space. The cache is populated
incrementally, and items are never removed.

8 years agoMore work on text nodes
Matthias Clasen [Fri, 1 Sep 2017 20:58:42 +0000 (16:58 -0400)]
More work on text nodes

This commit takes several steps towards rendering text
like we want to.

The creation of the cairo surface and texture is moved
to the backend (in GskVulkanRenderer). We add a mask
shader that is used in the next text pipeline to use
the texture as a mask, like cairo_mask_surface does.
There is a separate color text pipeline that uses the
already existing blend shaders to use the texture as
a source, like cairo_paint does.

The text node api is simplified to have just a single
offset, which determines the left end of the text baseline,
like all our other text drawing APIs.

8 years agoUpdate Hungarian translation
Balázs Úr [Sun, 10 Sep 2017 18:29:44 +0000 (18:29 +0000)]
Update Hungarian translation

8 years agoUpdated Danish translation
Ask Hjorth Larsen [Sun, 10 Sep 2017 16:17:44 +0000 (18:17 +0200)]
Updated Danish translation

8 years agoUpdated Danish translation
Ask Hjorth Larsen [Sun, 10 Sep 2017 16:11:48 +0000 (18:11 +0200)]
Updated Danish translation

8 years agoUpdate Romanian translation
Daniel Șerbănescu [Sun, 10 Sep 2017 11:27:45 +0000 (11:27 +0000)]
Update Romanian translation

8 years agoUpdate Romanian translation
Daniel Șerbănescu [Sun, 10 Sep 2017 11:24:32 +0000 (11:24 +0000)]
Update Romanian translation

8 years agoFixes to Catalan translation
Jordi Mas [Sun, 10 Sep 2017 06:24:27 +0000 (08:24 +0200)]
Fixes to Catalan translation

8 years agoUpdate Basque language
Inaki Larranaga Murgoitio [Sat, 9 Sep 2017 15:53:08 +0000 (17:53 +0200)]
Update Basque language

8 years agoUpdate Basque language
Inaki Larranaga Murgoitio [Sat, 9 Sep 2017 15:52:17 +0000 (17:52 +0200)]
Update Basque language

8 years agoEntry: Fix leak of text in ensure_has_tooltip()
Daniel Boles [Thu, 7 Sep 2017 13:53:59 +0000 (14:53 +0100)]
Entry: Fix leak of text in ensure_has_tooltip()

Thanks to Mohammed Sadiq for noticing this. I guess I got
Widget.get_tooltip_text() confused with Label.get_label().

https://bugzilla.gnome.org/show_bug.cgi?id=787410

8 years agomeson.build: enable-tests -> build-tests
Javier Jardón [Wed, 6 Sep 2017 19:45:00 +0000 (20:45 +0100)]
meson.build: enable-tests -> build-tests

This completes b5e00d36f084b827c48e4c9b8adc8fcedc14f2ff

8 years agoUpdate Polish translation
Piotr Drąg [Wed, 6 Sep 2017 18:17:24 +0000 (20:17 +0200)]
Update Polish translation

8 years agoRename enable-documentation and enable-man-pages options
Matthias Clasen [Wed, 6 Sep 2017 13:43:24 +0000 (09:43 -0400)]
Rename enable-documentation and enable-man-pages options

You can now disable the documentation build with
-Ddocumentation=false and -Dman-pages=false.

8 years agoRename and document the enable-gir option
Matthias Clasen [Wed, 6 Sep 2017 13:27:59 +0000 (09:27 -0400)]
Rename and document the enable-gir option

You can disable introspection now with -Dintrospection=false.

8 years agoAllow building without tests and demos
Matthias Clasen [Wed, 6 Sep 2017 12:33:18 +0000 (08:33 -0400)]
Allow building without tests and demos

This is meant to cut down build time in flatpak and similar
situations. Since it produces technically incomplete builds,
we list these options in the status output at the end of
the meson run.

8 years agopopover: Fix a warning
Matthias Clasen [Wed, 6 Sep 2017 12:04:33 +0000 (08:04 -0400)]
popover: Fix a warning

We were unintentionally disconnecting an already-disconnected
signal handler in some cases. Don't do that, it causes warnings.

8 years agogtk4-demo: Fix up the event axes demo
Matthias Clasen [Wed, 6 Sep 2017 10:59:22 +0000 (06:59 -0400)]
gtk4-demo: Fix up the event axes demo

Use a drawing area instead of drawing directly on the
window, which doesn't work well with csd.

8 years agogtk4-demo: add a few missing window titles
Matthias Clasen [Wed, 6 Sep 2017 10:29:32 +0000 (06:29 -0400)]
gtk4-demo: add a few missing window titles

8 years agoUpdate Turkish translation
Çağatay Yiğit Şahin [Wed, 6 Sep 2017 06:49:29 +0000 (06:49 +0000)]
Update Turkish translation

8 years agoentry: Set a clip
Matthias Clasen [Wed, 6 Sep 2017 03:29:59 +0000 (23:29 -0400)]
entry: Set a clip

Now that GtkEntry is using a text node, we were spilling
the contents out to the side when the entry is scrolling.
Avoid that by setting a clip.

8 years agogskpango.c: Include cairo.h consistently
Chun-wei Fan [Mon, 4 Sep 2017 15:29:34 +0000 (23:29 +0800)]
gskpango.c: Include cairo.h consistently

The other source files use "#include <cairo.h>", so we should do
likewise.

https://bugzilla.gnome.org/show_bug.cgi?id=773299

8 years agoActionBar: Fix links in set_revealed() doc, etc.
Daniel Boles [Tue, 5 Sep 2017 20:31:42 +0000 (21:31 +0100)]
ActionBar: Fix links in set_revealed() doc, etc.

mostly: syncing with previous commit, where InfoBar copied this all from

Also, remove my unhelpful “and vice-versa” from InfoBar.

8 years agoInfoBar: Fix typos in set_revealed() documentation
Daniel Boles [Tue, 5 Sep 2017 19:19:33 +0000 (20:19 +0100)]
InfoBar: Fix typos in set_revealed() documentation

Fix a parameter type and a link to the corresponding property.
Tweak the wording and whatnot a little while at it.

8 years agobuild: Improve vulkan resource handling
Patrick Griffis [Tue, 5 Sep 2017 16:47:10 +0000 (12:47 -0400)]
build: Improve vulkan resource handling

This fixes the proper dependencies getting set up for generating
the shaders and only the necessary things getting rebuilt on
resources changing in gsk.

8 years agoUpdate German translation
Mario Blättermann [Tue, 5 Sep 2017 17:56:32 +0000 (17:56 +0000)]
Update German translation

8 years agoUpdate German translation
Mario Blättermann [Tue, 5 Sep 2017 17:52:35 +0000 (17:52 +0000)]
Update German translation

8 years agoUpdate Hungarian translation
Balázs Úr [Tue, 5 Sep 2017 15:16:16 +0000 (15:16 +0000)]
Update Hungarian translation

8 years agoUpdate Hungarian translation
Balázs Úr [Tue, 5 Sep 2017 15:14:28 +0000 (15:14 +0000)]
Update Hungarian translation

8 years agoUpdated Czech translation
Marek Cernocky [Tue, 5 Sep 2017 14:38:18 +0000 (16:38 +0200)]
Updated Czech translation

8 years agoadwaita: use generic sidebar icon style
Jakub Steiner [Wed, 23 Aug 2017 20:26:06 +0000 (22:26 +0200)]
adwaita: use generic sidebar icon style

https://bugzilla.gnome.org/show_bug.cgi?id=786613

8 years agoUpdate Spanish translation
Daniel Mustieles [Tue, 5 Sep 2017 10:35:00 +0000 (10:35 +0000)]
Update Spanish translation

8 years agoUpdate Spanish translation
Daniel Mustieles [Tue, 5 Sep 2017 10:33:59 +0000 (10:33 +0000)]
Update Spanish translation

8 years agoUpdate French translation
Jean-Baptiste Holcroft [Tue, 5 Sep 2017 08:31:53 +0000 (08:31 +0000)]
Update French translation

8 years agobuild: Depend on wayland-protocols 1.9
Timm Bäder [Tue, 5 Sep 2017 08:07:54 +0000 (10:07 +0200)]
build: Depend on wayland-protocols 1.9

Needed for the keyboard shortcuts inhibit protocol

8 years agoTypo fix
Matthias Clasen [Tue, 5 Sep 2017 02:58:05 +0000 (22:58 -0400)]
Typo fix

8 years agoA somewhat working blur shader
Matthias Clasen [Sun, 3 Sep 2017 13:54:47 +0000 (09:54 -0400)]
A somewhat working blur shader

This is a very direct implementation of a Gaussian blur,
without any optimizations.

8 years agoUpdate Indonesian translation
Andika Triwidada [Tue, 5 Sep 2017 01:12:51 +0000 (01:12 +0000)]
Update Indonesian translation

8 years agoUpdate Indonesian translation
Andika Triwidada [Tue, 5 Sep 2017 01:09:35 +0000 (01:09 +0000)]
Update Indonesian translation

8 years agoHighContrast: Stop hovered emoji from disappearing
Daniel Boles [Tue, 5 Sep 2017 00:42:31 +0000 (01:42 +0100)]
HighContrast: Stop hovered emoji from disappearing

Otherwise emoji are invisible in the normal variant & nearly in Inverse.

https://bugzilla.gnome.org/show_bug.cgi?id=787279

8 years agoAdwaita: Fix a selector not regenerated in the CSS
Daniel Boles [Tue, 5 Sep 2017 00:42:13 +0000 (01:42 +0100)]
Adwaita: Fix a selector not regenerated in the CSS

8 years agoHighContrast: Kill abominable headerbar vseparator
Daniel Boles [Mon, 4 Sep 2017 23:58:00 +0000 (00:58 +0100)]
HighContrast: Kill abominable headerbar vseparator

Commit 8cd37ff0df75d890d71d40c0f23a42533853ad7b fixed a syntax error and
unwittingly released this bizarre mutant.

8 years agoEmojiChooser: Ensure always have a selected button
Daniel Boles [Mon, 4 Sep 2017 18:56:47 +0000 (19:56 +0100)]
EmojiChooser: Ensure always have a selected button

We were only selecting a section’s button if the adjustment y coord was
within its heading, so scrolling slightly into it unchecked all buttons.
This also fixes how we could end up with the first 2 selected, somehow.

https://bugzilla.gnome.org/show_bug.cgi?id=787172

8 years agoEmojiChooser: Check the 1st button before 1st show
Daniel Boles [Sat, 2 Sep 2017 17:47:47 +0000 (18:47 +0100)]
EmojiChooser: Check the 1st button before 1st show

We scroll to the top in show() but only ever selected a button when the
adjustment changed, which doesn’t happen in init(). Check it manually.

https://bugzilla.gnome.org/show_bug.cgi?id=787172

8 years agoUpdate Polish translation
Piotr Drąg [Mon, 4 Sep 2017 21:53:19 +0000 (23:53 +0200)]
Update Polish translation

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Mon, 4 Sep 2017 19:54:43 +0000 (19:54 +0000)]
Update Brazilian Portuguese translation

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Mon, 4 Sep 2017 19:52:31 +0000 (19:52 +0000)]
Update Brazilian Portuguese translation

8 years agocss: Implement the blur filter
Matthias Clasen [Sun, 3 Sep 2017 04:15:04 +0000 (00:15 -0400)]
css: Implement the blur filter

This implementation is somewhat incomplete, since
we don't allow combining blur with the other filters
yet.

8 years agoRender the main overlay child only once
Matthias Clasen [Mon, 4 Sep 2017 02:26:56 +0000 (22:26 -0400)]
Render the main overlay child only once

Use a separate snapshot to capture the main child render node
and reuse it multiple times, instead of generating multiple
nodes for the same content.

8 years agoAdd a test for overlay blur
Matthias Clasen [Sun, 3 Sep 2017 00:43:42 +0000 (20:43 -0400)]
Add a test for overlay blur

8 years agoAdd a blur child property to GtkOverlay
Matthias Clasen [Sun, 3 Sep 2017 00:42:47 +0000 (20:42 -0400)]
Add a blur child property to GtkOverlay

When set, it blurs the content behind the child.

8 years agoAdd gtk_snapshot_push_blur()
Matthias Clasen [Sun, 3 Sep 2017 03:50:39 +0000 (23:50 -0400)]
Add gtk_snapshot_push_blur()

This function is similar to the other push functions.
This one uses the newly created blur node.

8 years agogsk: Add a blur node
Matthias Clasen [Sun, 3 Sep 2017 03:49:34 +0000 (23:49 -0400)]
gsk: Add a blur node

For now, this has just a fallback implementation using
the typical box filter approximation.

8 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Mon, 4 Sep 2017 15:51:35 +0000 (15:51 +0000)]
Update Kazakh translation

8 years agogtkplacessidebar: implement libcloudproviders support
Julius Härtl [Thu, 10 Aug 2017 20:30:36 +0000 (22:30 +0200)]
gtkplacessidebar: implement libcloudproviders support

Add integration of the libcloudproviders DBus API to the
GtkPlacesSidebar by showing name and sync status of the cloud providers.
The exported menu is rendered as a GtkPopover.

The sidebar will be updated if the list of cloudproviders changes e.g.
by adding or removing an account. If any cloud provider changes detailed
information like sync status only the individual sidebar row gets
updated.

Co-authored-by: Carlos Soriano <csoriano@gnome.org>
Co-authored-by: Daniel Boles <dboles@src.gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agoHighContrast: basic port of emoji CSS from Adwaita
Daniel Boles [Sat, 2 Sep 2017 16:41:59 +0000 (17:41 +0100)]
HighContrast: basic port of emoji CSS from Adwaita

This is better than nothing: without specific CSS, the Chooser was too
large, the emoji were too small, and the buttons were generally ugly.

https://bugzilla.gnome.org/show_bug.cgi?id=786956

8 years agoAdwaita: proper colours for inactive emoji buttons
Daniel Boles [Sat, 2 Sep 2017 15:54:47 +0000 (16:54 +0100)]
Adwaita: proper colours for inactive emoji buttons

Use opacity to differentiate unselected/hovered/selected buttons. It had
assumed bg < border < fg colours, which may be false, as in Adwaita:dark

This also means we do not need to special-case for the backdrop state.

https://bugzilla.gnome.org/show_bug.cgi?id=786956

8 years agoAdwaita: Make use of SASS syntax for emoji stuff
Daniel Boles [Sat, 2 Sep 2017 15:56:14 +0000 (16:56 +0100)]
Adwaita: Make use of SASS syntax for emoji stuff

This makes the theme easier to maintain.

https://bugzilla.gnome.org/show_bug.cgi?id=786956

8 years agoUpdate Italian translation
Milo Casagrande [Mon, 4 Sep 2017 11:44:57 +0000 (11:44 +0000)]
Update Italian translation

8 years agoAdd rules to regenerate all shader variants
Matthias Clasen [Sun, 3 Sep 2017 23:58:41 +0000 (19:58 -0400)]
Add rules to regenerate all shader variants

We were missing rules to build the clip variants of
the shaders.

8 years agoFix a compiler warning
Matthias Clasen [Sun, 3 Sep 2017 23:53:29 +0000 (19:53 -0400)]
Fix a compiler warning

8 years agoAvoid empty nodes another way
Matthias Clasen [Sun, 3 Sep 2017 23:35:02 +0000 (19:35 -0400)]
Avoid empty nodes another way

Make gsk_text_node_new return NULL if the extents are empty.

8 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 3 Sep 2017 20:36:03 +0000 (23:36 +0300)]
Updated Lithuanian translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 3 Sep 2017 16:26:58 +0000 (19:26 +0300)]
Update Latvian translation

8 years agoUpdate Catalan translation
Jordi Mas [Sun, 3 Sep 2017 16:06:43 +0000 (18:06 +0200)]
Update Catalan translation

8 years agoAdd a workaround for vulkan crashes
Matthias Clasen [Sun, 3 Sep 2017 15:57:21 +0000 (11:57 -0400)]
Add a workaround for vulkan crashes

I see 'out of memory' errors and crashes inside libvulkan when
creating nodes that have empty bounds and end up in the fallback
paths, like a shadow around an empty text node. Prevent this
by not creating text nodes in that case.

8 years agovulkan: Add more debug spew
Matthias Clasen [Sun, 3 Sep 2017 15:34:41 +0000 (11:34 -0400)]
vulkan: Add more debug spew

8 years agoRecord node names for debug output
Matthias Clasen [Sun, 3 Sep 2017 15:29:29 +0000 (11:29 -0400)]
Record node names for debug output

This is useful for GSK_NOTE output as well.

8 years agogsk: Improve debug output
Matthias Clasen [Sun, 3 Sep 2017 14:32:55 +0000 (10:32 -0400)]
gsk: Improve debug output

If we don't have node names, we can still print class names.

8 years agoOnly record node names when we should
Matthias Clasen [Sun, 3 Sep 2017 14:30:32 +0000 (10:30 -0400)]
Only record node names when we should

This is the same thing we do for render nodes elsewhere.

8 years agoAdwaita: Fix ineffective theming of switch slider
Daniel Boles [Sun, 3 Sep 2017 12:53:48 +0000 (13:53 +0100)]
Adwaita: Fix ineffective theming of switch slider

in a specific case, which was applying .slider as a class on the parent
switch, instead of correctly selecting on its child node named slider.

This makes the border on the outside of a switch in a selected listbox
row look better in the light variant. Since the code was never removed,
it was clearly meant to work, and making it work is a clear improvement.

8 years agoHighContrast: Fix outdated name for headerbar box
Daniel Boles [Sun, 3 Sep 2017 12:32:14 +0000 (13:32 +0100)]
HighContrast: Fix outdated name for headerbar box

8 years agodocs: css-overview: Don’t recommend broken syntax
Daniel Boles [Sun, 3 Sep 2017 11:07:35 +0000 (12:07 +0100)]
docs: css-overview: Don’t recommend broken syntax

Using this produced warnings about the Pango syntax of <Family> <size>
being deprecated, and the size being invalid due to no unit specified.
Also, that multi-word font family presumably wouldn’t work as expected.

8 years agoToolbar: Clarify set_show_arrow() a bit more
Daniel Boles [Sun, 3 Sep 2017 10:04:48 +0000 (11:04 +0100)]
Toolbar: Clarify set_show_arrow() a bit more

8 years agoToolbar: Clarify how the arrow overflow menu works
Daniel Boles [Sun, 3 Sep 2017 09:41:56 +0000 (10:41 +0100)]
Toolbar: Clarify how the arrow overflow menu works

The fact it affects the preferred size, and only works with ToolItems
that return a menu proxy item, was unclear unless deduced from other
sources, and this led to users thinking it was broken, for example:

https://stackoverflow.com/q/44644642/2757035

https://bugzilla.gnome.org/show_bug.cgi?id=787158
https://bugzilla.gnome.org/show_bug.cgi?id=787195

8 years agoToolItem: Add see-also from proxy setter to signal
Daniel Boles [Sun, 3 Sep 2017 09:41:24 +0000 (10:41 +0100)]
ToolItem: Add see-also from proxy setter to signal

8 years agoToolItem: Annotate menu proxy item as nullable
Daniel Boles [Sun, 3 Sep 2017 09:39:58 +0000 (10:39 +0100)]
ToolItem: Annotate menu proxy item as nullable

It can be NULL. ::create-menu-proxy gave an example of when a NULL proxy
menu item could be useful, but the accessors did not annotate it as such.

8 years agocontainer: Drop priv pointer
Timm Bäder [Sat, 2 Sep 2017 12:25:29 +0000 (14:25 +0200)]
container: Drop priv pointer

8 years agotestcenterbox: Properly quit on window close
Timm Bäder [Fri, 1 Sep 2017 17:35:30 +0000 (19:35 +0200)]
testcenterbox: Properly quit on window close

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 2 Sep 2017 22:48:48 +0000 (22:48 +0000)]
Update Brazilian Portuguese translation